package cn.fjsay.java.demo8;

class ComputerArea {
    public double getArea(Circle circle) {
        return circle.calculateArea();
    }

    public double getArea(Ladder ladder) {
        return ladder.calculateArea();
    }
}
